package com.wondertek.web.controller.business;

import com.wondertek.service.sdk.iotdh.service.DhSdkService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * @author xqs
 */
@RestController
@RequestMapping("/dh/sdk/test")
@RequiredArgsConstructor
@Tag(name = "系统登录管理")
public class SysDhSdkController {

    @Resource
    private final DhSdkService dhSdkService;

    /**
     * 获取验证码
     */
    @GetMapping("/token")
    @Operation(summary = "获取验证码")
    public void token() {
        dhSdkService.getToken();
    }
}
